page {
    // padding-bottom: 100rpx;
    // background: linear-gradient(180deg, white 0%, #F7F5F6 100%);
    background: #F7F5F6;
}
.flex-r-b-c {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.classify-box {
    padding-bottom: 190rpx;
    background: linear-gradient(180deg, white 0%, #F7F5F6 100%);

    .classify-head {
        padding: 40rpx 30rpx;
        background: white;
        // display: flex;
        // align-items: center;
        position: sticky;
        top: 0;
        left: 0;
        z-index: 1000;

        .type-ico {
            width: 52rpx;
            height: 52rpx;
            margin-right: 18rpx;
            display: block;
        }

        .search {
            display: flex;
            align-items: center;
            width: 100%;
            height: 60rpx;
            background: rgba(0, 0, 0, .04);
            padding: 15rpx 20rpx;
            color: #999999;
            font-size: 28rpx;
            border-radius: 60rpx;
            font-weight: bold;

            .search-ico {
                width: 30rpx;
                height: 30rpx;
                display: block;
                margin-right: 10rpx;
            }
        }

        .menus {
            width: 100%;
            // display: flex;
            // justify-content: space-between;
            padding: 40rpx 0;

            .menus-scroll {
                width: 100%;
                white-space: nowrap;
            }

            .type-item {        
                color: #999999;
                font-size: 36rpx;
                font-weight: 300;
                display: inline-block;
                margin-right: 40rpx;
                position: relative;
                padding: 10rpx;
            }

            .type-item::after{
                content: '';
                position: absolute;
                left: 0;
                bottom: 10rpx;
                width: 100%;
                height: 16rpx;
                background: #F1AF86;
                color: #666666;
                border-radius: 10rpx;
                z-index: -1;
                opacity: .7;
            }
        
            .active {
                position: relative;
                z-index: 2;
                color: #666666;
                padding: 10rpx;
                font-weight: 600;
            }
            .active::after {
                content: '';
                position: absolute;
                left: 0;
                bottom: 10rpx;
                width: 100%;
                height: 16rpx;
                background: #F1AF86;
                color: #666666;
                border-radius: 16rpx;
                z-index: -1;
                opacity: 1;
            }

        }
    }
}

.type-contain {
    width: 252rpx;
    height: 100vh;
    overflow: auto;
    transition: all linear .3s;
    background: white;
    padding-top: 50rpx;
    position: fixed;
    z-index: 1001;
    color: white;
    top: 0;
    animation: fade-in 1 .3s;

    .type-item {
        width: 100%;
        height: 64rpx;
        line-height: 64rpx;
        padding-left: 20rpx;
        color: #999999;
        font-size: 36rpx;
        margin-bottom: 50rpx;
        font-weight: 300;

    }

    .active {
        border-right: 10rpx solid #F1AF86;
        color: #F1AF86;
        font-weight: 500;
    }
}

@keyframes fade-in {
    0% {
        left: -252rpx;
    }

    100% {
        left: 0;
    }
}
